package com.swanclouds.redfish.managers;

import com.swanclouds.api.managers.SerialInterfacesService;
import com.swanclouds.core.transport.ClientConstants;
import com.swanclouds.model.common.redfish.CollectionResource;
import com.swanclouds.redfish.common.redfish.CollectionResourceModel;
import com.swanclouds.redfish.internal.BaseManagerService;

public class SerialInterfacesServiceImpl extends BaseManagerService implements SerialInterfacesService {

    /**
     * 查询串行接口信息
     * @return CollectionResource
     */
    @Override
    public CollectionResource get() {
        return get(CollectionResourceModel.class,uri(ClientConstants.PATH_MANAGERS_SERIALINTERFACES,getManagerId())).execute();
    }
}
